import { createRouter, createWebHistory } from 'vue-router';

const routes = [
    // {
    //     path: '/',
    //     name: 'Home',
    //     component: Home,
    // },
    // {
    //     path: '/about',
    //     name: 'About',
    //     component: About,
    // },
    {
        path: '/login',
        name: 'Login',
        component: () => import('../pages/login.vue'),
    },
    {
        path: '/',
        name: 'Main',
        component: () => import('../pages/main.vue'),
    },
];

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes,
});

export default router;